<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/include/taglib.jsp"%>
<html>
<head>
<meta charset="UTF-8">
<title>我的账户-安全中心</title>
<jsp:include page="/include/wchat/head.jsp"></jsp:include>

<link type="text/css" rel="stylesheet" href="/v2/wchat/resrc/css/account.css">
</head>
<body>
<div id="header"> <a href="/wchatAccount.do" class="backto">返回</a>
  <div class="title-sub">安全中心</div>
</div>
<div id="wrap">
  <div class="security-center">
    <div class="link-touch">
      <ul class="items">
        <li><span class="txt">用户名</span><span class="value">${session.user.userName}</span></li>
        
        <s:if test="#session.user.isBindMobile == 0">
        	<li data-url="/bindMobile.do" class="touch"><span class="txt">手机号</span><span class="value"> 未绑定</span><b class="icon-arrow-r"></b></li>
        </s:if>
        <s:elseif test="#session.user.isBindMobile == 1">
        	<li><span class="txt">手机号</span><span class="value"> ${userMap.mobilePhone}</span></li>
        </s:elseif>
        <s:if test="#session.user.isBindIdNo == 0">
        	<li data-url="/wchatRealNameAuthen.do" class="touch"><span class="txt">实名认证</span><span class="value">${session.user.realName}</span><b class="icon-arrow-r"></b></li>
        </s:if>
        <s:elseif test="#session.user.isBindIdNo == 1">
        	<li class="touch"><span class="txt">实名认证</span><span class="value">${session.user.realName}</span></li>
        </s:elseif>
            
      </ul>
    </div>
    <div class="link-touch">
      <ul class="items">
 		<s:if test="#session.isBindQuestion == 0">
	      	<li data-url="/setSecurityQuestion.do" class="touch"><span class="txt">密保问题</span><span class="value">设定</span><b class="icon-arrow-r"></b></li>
	        <li><span class="txt">登录密码</span><span class="value">设置密保问题后可修改</span></li>
	        <li><span class="txt">支付密码</span><span class="value">设置密保问题后可修改</span></li>
 		</s:if>
 		<s:elseif test="#session.isBindQuestion == 1">
			<li data-url="/changeSecretQuestionWchat.do" class="touch"><span class="txt">密保问题</span><span class="value">修改 </span><b class="icon-arrow-r"></b></li>
	        <li data-url="/modifyLoginPwd.do" class="touch"><span class="txt">登录密码</span><span class="value">修改 </span><b class="icon-arrow-r"></b></li>
	        <li data-url="/modifyPayPwd.do" class="touch"><span class="txt">支付密码</span><span class="value">修改 </span><b class="icon-arrow-r"></b></li>
 		</s:elseif>
      </ul>
    </div>
  </div>
</div>

<jsp:include page="/include/wchat/footer.jsp"></jsp:include>

</body>
</html>